package com.cargohu.aishouyu.operation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * APP版本信息
 *
 * @author yww
 * @since 2023-11-29
 */
@Data
@TableName("app_version")
@Schema(description = "APP版本信息")
public class AppVersion implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "平台 1-安卓 2-IOS")
    private String platform;

    @Schema(description = "版本号")
    private String version;

    @Schema(description = "是否强制更新 0-否，1-是")
    private String forceUpdate;

    @Schema(description = "跳转链接")
    private String jumpLink;

    @Schema(description = "更新内容")
    private String updateContent;

    @TableLogic
    @Schema(description = "删除标记，0未删除，1已删除")
    private String delFlag;

}

